print user's processes in shell scripting